package app15;

import java.util.ArrayList;
import java.util.List;
public class AllowedTypeDemo1 {
    public static void doIt(List<?> l) {
    }
    public static void main(String[] args) {
        List<String> myList = new ArrayList<>();
// this will generate a compile error
        doIt(myList);
    }
}